namespace ThingsGateway.Foundation
{
    /// <summary>
    /// 日志接口
    /// </summary>

    public interface ILogNet : IDisposable
    {
        /// <summary>
        /// 存储前事件<br />
        /// </summary>
        public event EventHandler<LogMessageItem> BeforeOut;
        /// <summary>
        /// 日志记录
        /// </summary>
        /// <param name="logType"></param>
        /// <param name="message"></param>
        public void Log(LogType logType, string keyword, string message);


    }
}